home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / easyk110.zip / 7171.INI < prev    next >
Text File  |  1988-06-29  |  9KB  |  194 lines

  1. ; 7171.INI
  2. ;                             Copyright (C) 1987
  3. ;                                     by
  4. ;                     Scott Crumpton <NESCC@NERVM.BITNET>
  5. ;                            all rights reserved.
  6. ;
  7. ; Permission is hereby granted for the noncommercial use and distribution of
  8. ; this material provided that this and the above copyright notice remain
  9. ; intact and that no fees are charged.  A further restriction is imposed on
  10. ; anyone who modifies this material in that they must include the following
  11. ; information in any modified copies: the date, their name, and a description
  12. ; of the modification.
  13. ;
  14. ; This material carries no warranties of any kind.  You are advised that you use
  15. ; this material at your own risk.
  16. ;
  17. ; 12 Oct 87   Scott Crumpton   Revised for MSKermit 2.29c (2.30)
  18. ; 04 Nov 87   Scott Crumpton   Added Ctrl-[left/right], improved comments.
  19. ; 19 Nov 87   Scott Crumpton   Added Alt-P to push to DOS.
  20. ; 27 Jan 88   Scott Crumpton   Changes for 2.30.
  21. ; 06 Jun 88   Dick Elnicki     Enhanced PC keyboard insert, home, delete, end
  22. ;                              & arrow keys added.                          
  23. ;
  24. ; Communications protocol and keyboard mapping for use with the NERDC 7171
  25. ; protocol converters emulating a VT100.
  26. ;
  27. ; The intent of this defination is to make the keyboard act as "normally"
  28. ; as possible.  To accomplish this keys are redefined to do what they say.
  29. ; Also, to eliminate as much confusion as possible, the numeric pad is
  30. ; used only for cursor control and most of the kermit single key functions
  31. ; are disabled.  This keyboard mapping was designed with the KB5151 style
  32. ; keyboard, other keyboards may give varying results.  Refer to the comments
  33. ; below for information on the function of individual keys.
  34. ;
  35. ; Set communications control parameters:
  36. ;
  37. clear
  38. set terminal vt102
  39. set local-echo off
  40. set flow-control xon/xoff
  41. set handshake none
  42. set parity even
  43. ;
  44. ; Nullify all ASCII control keys that are not redefined later:
  45. ;
  46. set key  \1     {\{0}}
  47. set key  \2     {\{0}}
  48. set key  \3     {\{0}}
  49. set key  \4     {\{0}}
  50. set key  \5     {\{0}}
  51. set key  \6     {\{0}}
  52. set key  \7     {\{0}}
  53. set key  \8     {\{0}}
  54. set key  \11    {\{0}}
  55. set key  \12    {\{0}}
  56. set key  \14    {\{0}}
  57. set key  \15    {\{0}}
  58. set key  \16    {\{0}}
  59. set key  \17    {\{0}}
  60. set key  \18    {\{0}}
  61. set key  \19    {\{0}}
  62. set key  \20    {\{0}}
  63. set key  \21    {\{0}}
  64. set key  \22    {\{0}}
  65. set key  \23    {\{0}}
  66. set key  \24    {\{0}}
  67. set key  \25    {\{0}}
  68. set key  \26    {\{0}}
  69. set key  \28    {\{0}}
  70. set key  \30    {\{0}}
  71. set key  \31    {\{0}}
  72. ;
  73. ; Nullify possibly dangerous keys that are not redefined later:
  74. ;
  75. set key  \127   {\{0}}                 ; Ctrl-Backspace
  76. set key  \311   {\{0}}                 ; * on PrtSc
  77. set key  \335   {\{0}}                 ; End
  78. set key  \842   {\{0}}                 ; Shift-- (numeric pad)
  79. set key  \844   {\{0}}                 ; Shift-5 (numeric pad)
  80. set key  \846   {\{0}}                 ; Shift-+ (numeric pad)
  81. set key  \847   {\{0}}                 ; Shift-End
  82. set key  \854   {\{0}}                 ; Shift-F3
  83. set key  \855   {\{0}}                 ; Shift-F4
  84. set key  \856   {\{0}}                 ; Shift-F5
  85. set key  \857   {\{0}}                 ; Shift-F6
  86. set key  \858   {\{0}}                 ; Shift-F7
  87. set key  \859   {\{0}}                 ; Shift-F8
  88. set key  \1280  {\{0}}                 ; Ctrl-Break
  89. set key  \1283  {\{0}}                 ; Ctrl-@ (NUL)
  90. set key  \1394  {\{0}}                 ; Ctrl-PrtSc
  91. set key  \1398  {\{0}}                 ; Ctrl-PgDn
  92. set key  \1399  {\{0}}                 ; Ctrl-Home
  93. set key  \1412  {\{0}}                 ; Ctrl-PgUp
  94. set key  \1906  {\{0}}                 ; Ctrl-Shift-PrtSc
  95. set key  \1910  {\{0}}                 ; Ctrl-Shift-PgDn
  96. set key  \1911  {\{0}}                 ; Ctrl-Shift-Home
  97. set key  \1924  {\{0}}                 ; Ctrl-Shift-PgUp
  98. set key  \2335  {\{0}}                 ; Alt-S (\Kstatus)
  99. set key  \2349  {\{0}}                 ; Alt-X (\Kexit)
  100. set key  \2352  {\{0}}                 ; Alt-B (\Kbreak)
  101. set key  \2434  {\{0}}                 ; Alt -- (main kbd area)
  102. set key  \2435  {\{0}}                 ; Alt -+ (main kbd area)
  103. ;
  104. ; Nullify the following keys that showed up with release 2.30.
  105. ; Probably for the enhanced keyboard.
  106. ;
  107. set key  \4407  {\{0}}                 ;
  108. set key  \4423  {\{0}}                 ;
  109. set key  \4424  {\{0}}                 ;
  110. set key  \4425  {\{0}}                 ;
  111. set key  \4427  {\{0}}                 ;
  112. set key  \4429  {\{0}}                 ;
  113. set key  \4431  {\{0}}                 ;
  114. set key  \4432  {\{0}}                 ;
  115. set key  \4433  {\{0}}                 ;
  116. set key  \5494  {\{0}}                 ;
  117. set key  \5495  {\{0}}                 ;
  118. set key  \5508  {\{0}}                 ;
  119. ;
  120. ; Redefine the Kermit's escape chracter to the Khelp command. Both escape sets
  121. ; are needed: Ascii 002 on the 1st and 029 on the 2nd. Cannot have comments.
  122. ;
  123. set escape 
  124. set key  \29    \Khelp
  125. set escape 
  126. ;
  127. ; Assign kermit commands to some keys
  128. ;
  129. set key  \27    \Kexit                 ; ESC                -->  Exit
  130. set key  \2329  \Kdos                  ; Alt-P              -->  Push to DOS
  131. ;
  132. ; Define PA1, PA2, PA3, Clear, Redisplay:
  133. ;
  134. set key  \2408  {\{27}OS}              ; Alt-F1             -->  PA1
  135. set key  \2409  {\{27}Om}              ; Alt-F2             -->  PA2
  136. set key  \330   {\{27}Om}              ; Keypad -           -->  PA2
  137. set key  \2410  {\{27}Ol}              ; Alt-F3             -->  PA3
  138. set key  \2413  {\{27}OM}              ; Alt-F6             -->  Clear
  139. set key  \334   {\{27}OM}              ; Keypad +           -->  Clear
  140. set key  \2414  {\{22}}                ; Alt-F7             -->  Redisplay
  141. set key  \2415  {\{24}}                ; Alt-F8             -->  Purge THB
  142. set key  \2416  {\{6}}                 ; Alt-F9             -->  Reset
  143. set key  \2417  {\{7}}                 ; Alt-F10            -->  Master Reset
  144. ;
  145. ; Define Erase EOF, Insert, and Delete:
  146. ;
  147. set key  \1397  {\{27}\{127}}          ; Ctrl-EOF           -->  Erase EOF
  148. set key  \5493  {\{27}\{127}}          ; Ctrl-EOF Enh. KB   -->  Erase EOF
  149. set key  \1909  {\{27}\{127}}          ; Ctrl-Shift-End     -->  Erase EOF
  150. set key  \338   {\{27}On}              ; Insert Number Pad  -->  Insert
  151. set key  \4434  {\{27}On}              ; Insert Enhanced KB -->  Insert
  152. set key  \850   {\{27}On}              ; Shift-Insert       -->  Insert
  153. set key  \339   {\{127}}               ; Delete Number Pad  -->  Delete
  154. set key  \4435  {\{127}}               ; Delete Enhanced KB -->  Delete
  155. set key  \851   {\{127}}               ; Shift-Delete       -->  Delete
  156. ;
  157. ; Define Tab field and Backtab field:       (  -->|  and  |<--  )
  158. ;
  159. set key  \9     {\{9}}                 ; Tab                -->  Tab Field
  160. set key  \783   {\{27}\{9}}            ; Shift-Tab          -->  Backtab Field
  161. ;
  162. ; Define Backspace with Delete (The PC key), Next Line, and Enter:
  163. ;
  164. set key  \270   {\{10}}                ; Backspace          -->  Next Line
  165. set key  \782   {\{10}}                ; Shift-Backspace    -->  Next Line
  166. set key  \13    {\{13}}                ; Return             -->  Enter
  167. set key  \10    {\{13}}                ; Shift-Return       -->  Enter
  168. ;
  169. ; Define cursor movement keys:
  170. ;
  171. set key  \327   {\{8}}                 ; Home Number Pad    -->  Home
  172. set key  \4423  {\{8}}                 ; Home Enhanced KB   -->  Home
  173. set key  \839   {\{8}}                 ; Shift-Home         -->  Home
  174. set key  \328   {\{27}OA}              ; Up Number Pad      -->  Up
  175. set key  \4424  {\{27}OA}              ; Up Enhanced KB     -->  Up
  176. set key  \840   {\{27}OA}              ; Shift-Up           -->  Up
  177. set key  \336   {\{27}OB}              ; Down Number Pad    -->  Down
  178. set key  \4432  {\{27}OB}              ; Down Enchanced KB  -->  Down
  179. set key  \848   {\{27}OB}              ; Shift-Down         -->  Down
  180. set key  \331   {\{27}OD}              ; Left Number Pad    -->  Left
  181. set key  \4427  {\{27}OD}              ; Left Enhanced KB